package com.fgr.service;

import com.fgr.beans.Adapter;
import com.fgr.beans.Animal;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface AdapterService {

    public List<Adapter> selectAllAdapterAndUser(Integer publish);
    public String insertAdapterAuditing(Integer anId, HttpSession httpSession);
    public String addAdapterBg(Adapter adapter);
    public Adapter selectAdapterByAdId(Integer adId);
    public Adapter selectAdapterAndUserByAdIdAuditing(Integer adId);
    public String updateAdapter(Adapter adapter);
    public String deleteAdapter(Integer ad_id);
    public String updateAdapterPublishByAdId(Integer adId);

}
